import { Effect, ImmerReducer, Reducer, Subscription } from 'umi';

export interface IndexModelState {
    name: string;
}

export interface IndexModelType {
    namespace: 'index';
    state: IndexModelState;
}

const IndexModel: IndexModelType = {
    namespace: 'index',
    state: {
        name: 'about',
    }
};

export default IndexModel;